import request from '@/utils/request';
import { AxiosPromise } from 'axios';

/**
 * 登录成功后获取用户信息
 */
export function getUserInfo(): AxiosPromise<any> {
  return request({
    url: 'api/v1/getInfo',
    method: 'get'
  });
}
